package com.hziee.inm.member.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hziee.common.utils.PageUtils;
import com.hziee.common.utils.Query;

import com.hziee.inm.member.dao.RedeemedItemDao;
import com.hziee.inm.member.entity.RedeemedItemEntity;
import com.hziee.inm.member.service.RedeemedItemService;


@Service("redeemedItemService")
public class RedeemedItemServiceImpl extends ServiceImpl<RedeemedItemDao, RedeemedItemEntity> implements RedeemedItemService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RedeemedItemEntity> page = this.page(
                new Query<RedeemedItemEntity>().getPage(params),
                new QueryWrapper<RedeemedItemEntity>()
        );

        return new PageUtils(page);
    }

}